export const SEARCH_DATA = [
  {
    key: 'serviceAgreementCode',
    title: '服务协议流水号',
    type: 'input',
  },
  {
    key: 'serviceAgreementNo',
    title: '服务协议号',
    type: 'input',
  },
  {
    key: 'providerName',
    title: '供应商',
    type: 'input',
  },
  {
    key: 'customerName',
    title: '医院',
    type: 'input',
  },
  {
    key: 'serviceName',
    title: '服务商',
    type: 'input',
  },
  {
    key: 'usable',
    title: '有效状态',
    type: 'select',
    attr: {
      clearable: true,
    },
    options: [
      { label: '全部', value: '0' },
      { label: '生效中', value: '1' },
      { label: '已失效', value: '2' },
    ],
  },
  {
    key: 'settlementAt', // 在一起的日期起始时间
    title: '结算日期',
    type: 'time',
    fieldname: ['updatedAtStart', 'updatedAtEnd'],
    attr: {
      class: 'daterange',
      type: 'daterange',
      style: 'width:260px',
      'start-placeholder': '开始日期',
      'end-placeholder': '结束日期',
      'default-time': ['00:00:00', '23:59:59'],
    },
  },
];
export const COLUMNS_TABLE = [
  {
    type: 'index',
    label: '序号',
    width: 56,
  },
  {
    prop: 'serviceAgreementCode',
    label: '服务协议流水号',
    width: 150,
  },
  {
    prop: 'serviceAgreementNo',
    label: '服务协议号',
    width: 150,
  },
  {
    prop: 'vendorName',
    label: '供应商名称',
    width: 150,
  },
  {
    prop: 'vendorNum',
    label: '供应商编码',
    width: 150,
  },
  {
    prop: 'ouName',
    label: '配送商名称',
    width: 150,
  },
  {
    prop: 'ouCode',
    label: '配送商编码',
    width: 150,
  },
  {
    prop: 'hospitalName',
    label: '医院名称',
    width: 150,
  },
  {
    prop: 'hospitalCode',
    label: '医院编码',
    width: 150,
  },
  {
    prop: 'serviceProviderName',
    label: '服务商名称',
    width: 150,
  },
  {
    prop: 'serviceProviderCode',
    label: '服务商编码',
    width: 150,
  },
  {
    prop: 'effectiveDate',
    label: '生效日期',
    width: 180,
  },
  {
    prop: 'expirationDate',
    label: '截止日期',
    width: 180,
  },
  {
    prop: 'updatedAt',
    label: '最后更新日期',
    width: 180,
  },
  {
    prop: 'action',
    label: '操作',
    width: 100,
    fixed: 'right',
  },
];
export const SETTLE_LABEL_INFO = [
  {
    label: '服务协议流水',
    value: '',
    key: 'serviceAgreementCode',
  },
  {
    label: '服务协议号',
    value: '',
    key: 'serviceAgreementNo',
  },
  {
    label: '供应商名称',
    value: '',
    key: 'vendorName',
  },
  {
    label: '供应商编码',
    value: '',
    key: 'vendorNum',
  },
  {
    label: '配送商名称',
    value: '',
    key: 'ouName',
  },
  {
    label: '配送商编码',
    value: '',
    key: 'ouCode',
  },
  {
    label: '医院名称',
    value: '',
    key: 'hospitalName',
  },
  {
    label: '医院编码',
    value: '',
    key: 'hospitalCode',
  },
  {
    label: '生效日期',
    value: '',
    key: 'effectiveDate',
  },
  {
    label: '失效日期',
    value: '',
    key: 'expirationDate',
  },
];
export const SEARCH_DETAILS = [
  {
    key: 'prodCompany',
    title: '生产厂商',
    type: 'input',
  },
  {
    key: 'prodLine',
    title: '产品线',
    type: 'input',
  },
  {
    key: 'prodName',
    title: '产品名称',
    type: 'input',
  },
  {
    key: 'prodCode',
    title: '产品编码',
    type: 'input',
  },
];
export const PRODUCT_INFO_TABLE_COLUMNS = [
  {
    type: 'index',
    label: '序号',
    width: 56,
  },
  {
    prop: 'effectiveDate',
    label: '生效日期',
    width: 200,
  },
  {
    prop: 'expirationDate',
    label: '失效日期',
    width: 200,
  },
  {
    prop: 'authTypeDesc',
    label: '授权类型',
    minWidth: 150,
  },
  {
    prop: 'prodTypeDesc',
    label: '类别/产品',
    width: 180,
  },
  {
    prop: 'prodCompany',
    label: '生产厂商',
    width: 180,
  },
  {
    prop: 'prodLine',
    label: '产品线',
    width: 180,
  },
  {
    prop: 'prodName',
    label: '产品名称',
    width: 180,
  },
  {
    prop: 'prodCode',
    label: '产品编码',
    width: 180,
  },
];
